<!--<?php print <<<EOT
-->
<div id="breadCrumb">
		<img src="$imgpath/$stylepath/thread/home-old.gif" align="absmiddle" />&nbsp;<a href="$db_bfn" title="$db_bbsname">$db_bbsname</a> &raquo; Retrieve password
</div>
<style type="text/css">
.t{margin-top:8px;border:4px solid $forumcolortwo;}
.t table tr td{padding:.8em 0 .8em 3em;}
.t table tr th{text-align:right;font-weight:normal;}
.t table{border:2px solid $tablecolor;}
.t .h{padding-left:1em;}
</style>
<form action="sendpwd.php?" method="POST">
<input type="hidden" value="2" name="step" />
<div class="t f_one">
<table width="100%" align="center" cellspacing="0" cellpadding="0">
<tr>
<th class="h"><b>Send Password</b></th><th class="h">&nbsp;</th></tr>
<tr>
<th width="25%">Username</th>
<td><input type="text" name="pwuser" class="input" size="40" /></td>
</tr>
<tr>
<th>Email</th>
<td><input type="text" name="email" class="input" size="40" /></td>
</tr>
<!--
EOT;
if($db_ifsafecv){print <<<EOT
-->
<tr>
	<th>Security</th>
	<td>
		<select name="question" onchange="showcustomquest(this.value)">
<option value="0">No security issues</option>
	<option Value="1"> my father's birthplace </option> 
	<option Value="2"> birthplace of my mother </option> 
	<option Value="3"> my primary school name </option> 
	<option Value="4"> Medium School My name </option> 
	<option Value="5"> exercise my favorites </option> 
	<option Value="6"> my favorites songs </option> 
	<option Value="7"> my favorites movies </option> 
	<option Value="8"> my favorite color </option> 
	<option Value="-1"> custom question </option> 
		</select>
		<input id="customquest" style="display:none" type="text" name="customquest" class="input" size="17">
	</td>
</tr>
<tr>
	<th>Your answer</th>
	<td><input type="text" name="answer" class="input" size="40"> If you set a security problem and needs to fill out the correct answer in order to retrieve your password</td>
</tr>
<!--
EOT;
}if($db_gdcheck & 16){print <<<EOT
-->
<tr><th>
Authentication Code : </th>
<td><input class="input" type="text" name="gdcode" size="6" onfocus="try{opencode('menu_gd',this)}catch(e){}" /><span style="cursor:pointer; margin-left:3px" onclick="this.previousSibling.focus();">Click here to display code</span>
<div class="menu" id="menu_gd" style="visibility:hidden;"><img src="ck.php?" align="absmiddle" style="cursor:pointer;" id="ckcode" alt="" /></div></td>
</th></tr>
<!--
EOT;
}print <<<EOT
-->
<tr><th></th><td><input class="btn" type="submit" value="Submit" /></td></tr>
</table></div>
</form>
<script language="JavaScript1.2">
function showcustomquest(qid){
	getObj("customquest").style.display = qid==-1 ? '' : 'none';
}
</script>
<!--
EOT;
?>-->